//
//  ContactKeyboardViewController.h
//  HandyDialer
//
//	Developed by Team Synergy
//  Created by Jordan Tseng on 11/20/11.
//  Coders: Jacky Li and Jordan Tseng 
//  Graphic Designer: Derek Fong
//  Developers: Brad Lisson, Derek Fong, Jacky Li, Jeremy Gangoso, Jordan Tseng
//  Copyright HandyDialer 2011. All rights reserved.
//
//  Class Descrption: a setting for user to have more variety of options.
//  
//  Member Variables:
//  int row     
//      -   rows in which the highlight move in
//  NSTimer *uniTimer    
//      - Highlighting done in seconds
//  NSUserDefaults *defaults
//      - Setting default status of the setting screen
//  float speed
//      - Speed of the highlighting for the entire program
//  NSString *highlightColor
//      - type of color highligh is done in
//  NSString *themeColor
//      - type of theme for the whole application
//  Member functions:
//  + (IBAction)switchView:(id)sender
//              - Actually switching to that screen 
//  + (void)optionChange
//              - changes the screen according to which option was chosen
//  + (void)highlightChange:(NSString *)picture
//              - change highlighting between row and column pictures
//	+ (void)returnToView:(NSString *)viewName:(UIViewController *)previousView
//					- recursively traverse parent views to find the view to return to
//
//	Bugs (unfixed):
//				None found so far
//
//	Unfinished Features:
//				None
//

#import <UIKit/UIKit.h>
#import "InvalidInputViewController.h"
#import "ContactResultViewController.h"
#import "ContactNumberViewController.h"
#import "DataStorage.h"

@interface ContactKeyboardViewController : UIViewController
{
	int rowCounter;
	int columnCounter;
	int iterationCounter;
	bool buttonSelect,firstNameInputted;
	NSTimer *uniTimer;
    NSString *firstName;
    NSUserDefaults *defaults;
	float speed;
	NSString *highlightColor;
	NSString *themeColor;
	NSArray *characterList;
    IBOutlet UILabel *currentInput;
	IBOutlet UIImageView *highlightArea;
	IBOutlet UIImageView *backgroundArea;
	
}

- (IBAction)switchView:(id)sender;


- (void)highlightChange:(NSString *)picture;

- (void)appendNum:(int)input;
- (void)returnToView:(NSString *)viewName:(UIViewController *)previousView;
- (void)buttonChange;
- (void)rowChange;


@property (nonatomic, retain)UILabel *currentInput;
@property (nonatomic, retain)UIImageView *highlightArea;
@property (nonatomic, retain)UIImageView *backgroundArea;

@end

